﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Http;
using ClumsyWords.Portable.Model;
using System.Xml.Linq;
using System.Collections.ObjectModel;

namespace ClumsyWords.Portable.ViewModel
{
    public class SearchViewModel : BindableBase
    {
        private string _searchTerm;
        public string SearchTerm 
        {
            get { return this._searchTerm; }
            set { this.SetProperty(ref this._searchTerm, value); }
        }

        private CommonGroup<TermProperties> _searchResult;
        public CommonGroup<TermProperties> SearchResult 
        {
            get { return this._searchResult; }
            set { this.SetProperty(ref this._searchResult, value); }
        }

        private ObservableCollection<CommonGroup<TermProperties>> _searchResults;
        public ObservableCollection<CommonGroup<TermProperties>> SearchResults 
        {
            get { return this._searchResults; }
            set { this.SetProperty(ref this._searchResults, value); }
        }
    }
}
